package guice.trail.lessons.scopes;

import com.google.inject.Inject;

import guice.trail.lessons.scopes.annos.ThreadLocalScoped;
import guice.trail.lessons.scopes.annos.UniqueInstanceScoped;

public class Encounter {

	@Inject
	public <T extends LivingBeing> void sights(@ThreadLocalScoped T hunter, @UniqueInstanceScoped T prey) {
		System.out.printf("Hunter %s sights Prey %s\n", hunter.hashCode(), prey.hashCode());
	}

}
